

module.exports = function timeoutPromise(delay){
    return new Promise((resolved) => {
        setTimeout(()=>{
            resolved();
        }, delay || 1000)
    })
}